package io.renren.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 *
 *
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2019-01-20 12:55:41
 */
@TableName("tb_peak")
public class PeakEntity implements Serializable {

    private static final long serialVersionUID = 1L;


    /**
     *
     */
    @TableId
    private Integer id;


    // 是否可见
    private Integer isVisible;


    /**
     * 评论人ID
     */
    private String userId;


    /**
     * 项目ID
     */
    private Integer campaignId;

    /**
     * 评论title
     */
    private String title;

    /**
     * description
     */
    private String description;

    /**
     * 价格
     */
    private Integer price;

    
    /**
     * 价格
     */
    private Integer retailPrice;

    /**
     * 价格
     */
    private String peakImage;


    private Integer peakNum = 0;

    /**
     * 创建时间
     */
    private Date createTime;


    /**
     * 创建时间
     */
    private Date duration;

    @TableField(exist = false)
    private List<String> peakItems;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getIsVisible() {
        return isVisible;
    }

    public void setIsVisible(Integer isVisible) {
        this.isVisible = isVisible;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public Integer getCampaignId() {
        return campaignId;
    }

    public void setCampaignId(Integer campaignId) {
        this.campaignId = campaignId;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public Integer getPrice() {
        return price;
    }

    public void setPrice(Integer price) {
        this.price = price;
    }

    public Integer getRetailPrice() {
        return retailPrice;
    }

    public void setRetailPrice(Integer retailPrice) {
        this.retailPrice = retailPrice;
    }

    public String getPeakImage() {
        return peakImage;
    }

    public void setPeakImage(String peakImage) {
        this.peakImage = peakImage;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getPeakNum() {
        return peakNum;
    }

    public void setPeakNum(Integer peakNum) {
        this.peakNum = peakNum;
    }

    public Date getDuration() {
        return duration;
    }

    public void setDuration(Date duration) {
        this.duration = duration;
    }

    public List<String> getPeakItems() {
        return peakItems;
    }

    public void setPeakItems(List<String> peakItems) {
        this.peakItems = peakItems;
    }
}
